<!doctype html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>生成二维码</title>

<link rel="stylesheet" type="text/css" href="css/default.css">
<style type="text/css">
	#ean{
		margin:200px auto;
	}
</style>

</head>
<body>

<article class="zzsc">
	<canvas id="ean" width="230" height="170"></canvas>
</article>

<script src="js/jquery-1.10.2.min.js" type="text/javascript"></script>
<script type="text/javascript" src="dist/jquery-ean13.min.js"></script>
<script type="text/javascript">
$(function(){
	$("#ean").EAN13("6902890218720",{
		color:'rgba(255,255,255,0.8)'
	});
});
</script>

<div style="text-align:center;margin:25px 0; font:normal 14px/24px 'MicroSoft YaHei';">

</div>
</body>
</html>